Skip to content

catalog listing: measure bounds in UTF-8 bytes; shorten Japanese alt text - #3

Merged
reoring merged 1 commit into
mainfrom
work/20261109/listing-bytes
Nov 9, 2026
Merged

reoring merged 1 commit into
mainfrom
work/20261109/listing-bytes

Conversation

@reoring

@reoring reoring commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

The Cloud catalog store (and the CRD) bound listing fields in UTF-8 bytes; the publisher validator counted characters, so Japanese alt text over ~100 chars passed locally and was rejected with 422 at publish. Validator now measures bytes; affected alt/body fields shortened. Check: bun hack/publish-entry.ts validate-listing.

@reoring
reoring merged commit 6ed0d30 into main Nov 9, 2026
@reoring
reoring deleted the work/20261109/listing-bytes branch November 9, 2026 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant